/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.praticas.projetoacademia.util;

import br.praticas.projetoacademia.models.Instrutor;
import br.praticas.projetoacademia.models.Secretaria;
import br.praticas.projetoacademia.models.Usuario;
import java.util.List;

/**
 *
 * @author lucia
 */
public class Check {
    
    public static boolean checkNull(Object object){
        return object != null;
    }
    
    public static boolean checkEmpty(List<Instrutor> list){
        return list.isEmpty();
    }
    
    public static boolean checkEmptyFuncionario(List<Secretaria> list){
        return list.isEmpty();
    }
    public static boolean checkEmptyFuncionario4(List<Usuario> list){
        return list.isEmpty();
    }
}
